package cn.iocoder.yudao.module.book.controller.admin.bookshelf.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 绘本集新增/修改 Request VO")
@Data
public class BookShelfSaveReqVO {

    @Schema(description = "绘本集ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "绘本集名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "绘本集名称不能为空")
    private String title;

    @Schema(description = "分类ID")
    private Long catalogueId;

    @Schema(description = "封面图片")
    @NotEmpty(message = "封面图片不能为空")
    private String cover;

    @Schema(description = "作者")
    @NotEmpty(message = "作者不能为空")
    private String author;

}